import Vue from 'vue'
import Router from 'vue-router'
// import HelloWorld from '@/components/HelloWorld'
// import SildeMenu from '../components/SildeMenu'
// import HeadMenu from '../components/HeadMenu'
import HelloWorld from '../components/HelloWorld'
Vue.use(Router)

export default new Router({
  routes: [
    {
      path: '/',
      name: 'HelloWorld',
      component: HelloWorld
    },
    {
      path: '/AdminInfo',
      name: 'AdminInfo',
      component: () => import('../page/AdminInfo.vue')
    },
    {
      path: '/home',
      name: 'Home',
      component: () => import('../page/Home.vue')
    },
    {
      path: '/echarts',
      name: 'Echarts',
      component: () => import('../page/Echarts.vue')
    },
    {
      path: '/persional',
      name: 'Persional',
      component: () => import('../page/Persional.vue')
    },
    {
      path: '/error',
      name: 'Error',
      component: () => import('../page/Error.vue')
    },
    {
      path: '/uploadImg',
      name: 'UploadImg',
      component: () => import('../page/UploadImg.vue')
    },
    {
      path: '/table1',
      name: 'Table1',
      component: () => import('../page/Table1.vue')
    },
    {
      path: '/drawer',
      name: 'Drawer',
      component: () => import('../page/Drawer.vue')
    },
    {
      path: '/skeleton',
      name: 'Skeleton',
      component: () => import('../page/Skeleton.vue')
    }
  ]
})
